@echo off

set codejamcore_output_path=.\build\CodeJamCore

echo.
echo Ensuring output directory (%codejamcore_output_path%) exists...
if not exist %codejamcore_output_path% md %codejamcore_output_path%

echo.
echo Building CodeJamCore...
javac -cp ".\CodeJamCore\src" -d "%codejamcore_output_path%" ".\CodeJamCore\src\com\google\codejam\core\io\*.java" ".\CodeJamCore\src\com\google\codejam\core\test\*.java"